#ifndef _E_PHYSICS_H_
#define _E_PHYSICS_H_

#include "EPhScene.h"

#include "eH.h"
namespace engine
{
#ifdef _DEBUG
  #define PHYSICS_USE_REMOTE_DEBUGGER
  /*#define PHYSICS_NX_DBG_EVENTGROUP_MYOBJECTS        0x00100000
  #define PHYSICS_NX_DBG_EVENTMASK_MYOBJECTS         0x00100000*/
#endif // _DEBUG

class EPhysics
{
  NxPhysicsSDK*           m_pNxSDK;
  vector<EPhScene*>       m_vScenes;
public:
  EPhysics();
  ~EPhysics();
  inline NxPhysicsSDK&    getNxSDK         () const { return *m_pNxSDK; }
  EPhScene*               createScene      ( const EPhSceneDesc& sceneDesc );
  void                    destroyScene     ( EPhScene &scene );

};

extern EPhysics *g_pPhysics;

} // end namespace

#endif